#!/bin/sh

if [ ! -e .repo ];then
	echo "No .repo found, make sure you are in a repo"
fi
echo "Begin sync...."
while true ; do
	repo sync
	if [ $? -eq 0 ]; then
		break
	fi
done
echo "Sync done ^@^"
